/** 
 * OSCresponderNode:
 * will catch any message in network, and send message to
 * server if it's OK
 */


o = OSCresponderNode(nil, '/android', { |t,r,msg|
	var n;
	n = NetAddr("10.0.2.2", 5555);
	if(n.isConnected.not) {
		n.connect;
	};
	n.sendMsg("/supercollider", "hello server");
	msg.postln;	
})

o.add
				
